#ifndef MAIN_H
#define MAIN_H

#define MY_MIC_SPK (0)
#define hhxj (0)
#define MODE_BLE (0)
#if hhxj
#define ProductKey"a47IGvkbXsq"
#else
#define ProductKey "S01PsJJDkwx"
#define ble_slave_name "MLYB"
// #define ProductKey "l32vXfRmoYh"
// #define ble_slave_name "KFYD"
#endif
#define ROUTER_SSID "12345678"
#define ROUTER_PWD "12345678"
typedef enum{
    Wifi_State_NO_Set,
    Wifi_State_Setting,
    Wifi_State_Disconnect,
    Wifi_State_Connected,
    Mqtt_State_Disconnect,
    Mqtt_State_Connected
}Wifi_State_Module;
typedef enum
{
    Wifi_Name_Set = 0x01,
    Wifi_Name_Get = 0x02,
    Wifi_Password_Set = 0x03,
    Wife_Password_Get = 0x04,
    Wife_To_Connect_Then_Mqtt_To_Connect = 0x05,
    Mqtt_Url_Set = 0x06,
    Mqtt_Url_Get = 0x07,
    Mqtt_Port_Set = 0x08,
    Mqtt_Port_Get = 0x09,
    Mqtt_ID_Set = 0x0A,
    Mqtt_ID_Get = 0x0B,
    Mqtt_Username_Set = 0x0C,
    Mqtt_Username_Get = 0x0D,
    Mqtt_Password_Set = 0x0E,
    Mqtt_Password_Get = 0x0F,
    Config_Succeed = 0x10,
    Device_Reset = 0x11,
    Wifi_Connected = 0x12,
    Wife_Mac_Send = 0x13,
    Ota_Updata = 0x14,
    Device_Version_Get = 0x15,
    Error_Len = 0x80

} Ble_Command;
// #define ROUTER_SSID "mlnx5G"
// #define ROUTER_PWD "12345678"
#endif
